package com.iflytek.ci.qams.dto;
import java.io.Serializable;

import com.iflytek.ci.qams.domain.Comment;
import com.iflytek.ci.qams.domain.Action;

/**
 * <p>
 * 数据传输对象：CommentAction 包含Comment类对象和Action对象，
 * 用于根据回复的comment对象的id查找对应comment_action关联对象封装一起，然后统一传递
 * </p>
 * @author liyasoft
 * @version 2012-12-26
 */
public class CommentAction implements Serializable{
	
	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 8369686875869166149L;

	/**回复信息的id*/
	private long comment_id;

	/**Comment 对象 */
	private Comment comment;
	
	/**Action对象，action对象和comment对象是一一对应的，
	 * 根据comment对象中的action_id查找对应的actino对象*/
	private Action action;

	
	public long getComment_id() {
		return comment_id;
	}

	public void setComment_id(long comment_id) {
		this.comment_id = comment_id;
	}

	public Comment getComment() {
		return comment;
	}

	public void setComment(Comment comment) {
		this.comment = comment;
	}

	public Action getAction() {
		return action;
	}

	public void setAction(Action action) {
		this.action = action;
	}
	
}
